import i18n from '@/i18n'

const constRoutes = [
  {
    path: '/',
    name: 'home',
    component: () => import('@/views/Home.vue'),
    meta: {
      title: i18n.global.t('homeTitle')
    }
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('@/views/About.vue')
  },
  {
    path: '/article',
    name: 'article',
    component: () => import('@/views/Article.vue')
  },
  {
    path: '/theme',
    name: 'theme',
    component: () => import('@/views/Theme.vue')
  },
  {
    path: '/mock',
    name: 'mock',
    // component: () => import('@/views/Mock/index.vue')
    component: () => import('@/views/Mock/Mock.vue')
  }
]
export default constRoutes
